SftTree/OCX 7.0

SftTreeItems.CalcVisibleOnly Property

Softel vdm, Inc.

Defines whether only visible items are considered for optimal column width and scrolling calculation.

Syntax       

Get

VB.NET

Boolean = object.CalcVisibleOnly  As Boolean

VB

Boolean = object.CalcVisibleOnly  As Boolean

C#.NET

bool Boolean = object.CalcVisibleOnly;

VC++

VARIANT_BOOL Boolean = object->CalcVisibleOnly;
VARIANT_BOOL Boolean = object->GetCalcVisibleOnly();

C

HRESULT object->get_CalcVisibleOnly(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.CalcVisibleOnly   : WordBool;

Put

VB.NET

object.CalcVisibleOnly = Boolean  As Boolean

VB

object.CalcVisibleOnly = Boolean  As Boolean

C#.NET

bool object.CalcVisibleOnly = Boolean;

VC++

VARIANT_BOOL object->CalcVisibleOnly = Boolean;
void object->PutCalcVisibleOnly(VARIANT_BOOL Boolean);

C

HRESULT object->put_CalcVisibleOnly(VARIANT_BOOL Boolean);

Delphi

object.CalcVisibleOnly := Boolean   : WordBool;

object

A SftTreeItems object.

Boolean

Defines whether only visible items are considered for optimal column width and scrolling calculation.

Boolean

Description

True

Only visible items are considered for optimal column width and scrolling calculation.

False

All items are considered for optimal column width and scrolling calculation.

Comments

The CalcVisibleOnly property defines whether only visible items are considered for optimal column width and scrolling calculation.

The CalcVisibleOnly property defines whether hidden items are evaluated using the methods Column.OptimalWidth, RowHeaders.OptimalWidth, Column.MakeOptimal, RowHeaders.MakeOptimal and Items.RecalcHorizontalExtent.

If items are not visible because their parent items are collapsed, these can be excluded from the optimal width calculation by setting the CalcVisibleOnly property to True.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com